isMobile

public boolean isMobile()

Returns whether the user agent is running on a mobile device (e.g. a smartphone or tablet).